// 搜索建议返回数据类型
export interface searchSuggestType {
  albums?: albumType[]
  artists?: artistsType[]
  songs?: songType[]
  playlists?: playlistsType[]
  order?: string[]
}
// 专辑类型
export type albumType = {
  id: number
  name: string
  alias: {
    albumSize: number
    picId: number
    fansGroup: null
    img1v1Url: string
    img1v1: number
    trans: null
  }
  artist: artistType
  publishTime: number
  size: number
  copyrightId: number
  status: number
  picId: number
  mark: number
}
// 歌手类型
export type artistsType = {
  id: number
  name: string
  alias: string[]
  picUrl: string
  albumSize: number
  picId: number
  fansGroup: null
  img1v1Url: string
  accountId: number
  img1v1: number
  alia: string[]
  trans: null
}
// 单曲类型
export type songType = {
  id: number
  name: string
  artists: artistType[]
  album: {
    id: number
    name: string
    actions: artistType
    publishTime: number
    size: number
    copyrightId: number
    status: number
    picId: number
    mark: number
  }
  duration: number
  copyrightId: number
  status: number
  alias: any[]
  rtype: number
  ftype: number
  mvid: number
  fee: number
  rUrl: null
  mark: number
}
// 播放列表类型
export type playlistsType = {
  id: number
  name: string
  coverImgUrl: string
  creator: null
  subscribed: boolean
  trackCount: number
  userId: number
  playCount: number
  bookCount: number
  specialType: number
  officialTags: null
  action: null
  actionType: null
  recommendText: null
  score: null
  description: string
  highQuality: boolean
}

interface artistType {
  id: number
  name: string
  picUrl: string
  alias: any[]
  albumSize: number
  picId: number
  fansGroup: null
  img1v1Url: string
  img1v1: number
  trans: null
}
